What does ‘pill’ mean?

( n ) A basketball. Throw me the pill; I have a shot!
( n ) An unlikable person. She is a bitter pill to take with her uppity attitude and all.
( n ) Anything difficult. Paying $1200 in taxes is a tough pill to take.