The sound module is typically powered by a small battery, which is also included in the card. The battery life is usually long enough to last for several years of normal use.
The music in greeting cards is often composed specifically for the card, and can range from simple melodies to complex arrangements. Some cards even include multiple songs, which can be selected by pressing a button on the card.
The music in greeting cards can be a fun and unexpected way to add a personal touch to a message, and can make the card more memorable for the recipient.