The Federal Aviation Administration has banned certain models of Macbooks manufactured between 2015 and 2017 from flights because of a possible fire risk with the battery. Apple has provided a page with information on identifying the affected models. To see if your model is affected, please see Apple’s page on this issue.