Air was not working while grounded and we were waiting in the heat for almost 2 hours until takeoff. It was way too hot to be on the plane for that long, especially with the same hot air circulating with people coughing and sneezing. We were all sweating. Flight crew was great and flight was very smooth in air as well as takeoff and landing. Also, wifi was not working and we were not able to watch anything. Screens were not working. There were no earbuds given out even if we wanted to watch something. That was very disappointing as it was a very long flight and we had 2 young children with us.