What does ‘smarts’ mean?

( n ) Brains, intelligence. Roy is good-looking and has a lot of smarts.