Major airports will have plenty of options, but the vast majority of smaller airports have things to keep you busy as well. You can walk around the terminal and do some shopping, sit in one of those automated massage chairs, or poke around a bookstore and look at books. There are also typically work stations if you want to get something productive done.