Airlines are required by law to provide flight attendants for the safety and security of passengers. The primary job of flight attendants is to keep passengers safe and to ensure that everyone follows security regulations. Flight attendants also try to make flights comfortable and enjoyable for passengers.