Pants in Ireland and parts of US means trousers.
In the UK pants mean underwear.
Other terms used are boxers, briefs, tiny whiteies.
trousers never means underwear anywhere from what I know.
drawers,panties,thongs,etc... are different types of female underwear