Optional Practical Training (OPT) is temporary employment that is directly related to an F-1 student’s major area of study. Under the prior rules, an F-1 student could be authorized to receive up to a total of 12 months of practical training either before (pre-) and/or after (post-) completion of studies.
The period of time when an F-1 student’s status and work authorization expire through the start date of their approved H-1B employment period is known as the "Cap-Gap".