Telling whether a banknote is genuine comes down to a few security features. For British notes, for example, you can hold the bill up to the light to reveal a picture of the Queen's head, along with a line running through the middle that is only visible against the light.
There is also a hologram that becomes visible only under a special machine some shops use, which emits a particular type of light to confirm authenticity.
These features are designed to make counterfeiting difficult, and while this covers British notes specifically, many currencies use similar tricks. It is a handy way to check that your money is the real deal.