This is usually attempted on a fourth down in which it is unlikely that another first down or touchdown will be achieved but when gaining any amount of points would be desirable.
The current record for the longest field goal in the NFL is 63 yards by Tom Dempsey in 1970 and Jason Elam in 1998.
The current record for NCAA College Football Division 1-A is 67 yards and held by three people: