Flying terminal

If flying is so safe, why do they call the airport the terminal?