The word swastika is derived from the Sanskrit स्वस्तिक, svastika, meaning any lucky or auspicious object, and in particular a mark made on persons and things to denote good luck.
[...]
The swastika appears in art and design throughout human history, symbolising many different things — luck, Surya (the sun), Brahma, or the Hindu concept of samsara. In fact, the swastika is used primarily as a religious symbol by Hindus – it was first mentioned in the Vedas, the holy texts of Hinduism – but transferred to other Indic religions like Buddhism and Jainism. It also occurs in other Asian, European, and Native American cultures – sometimes as a simple geometrical motif, sometimes as a religious symbol. The almost universally positive meanings of the swastika were subverted in the early twentieth century when it was adopted as the emblem of the National Socialist German Workers Party. Since World War II, most Westerners see it as solely a fascist symbol, leading to incorrect assumptions about its pre-Nazi use and its use in other cultures.
http://en.wikipedia.org/wiki/Swastika