Yes, you can take food on the plane. Generally, passengers buy snacks or meals within the airport after they've passed through security.