The charm or special quality of something that draws you to it is its attraction. The attraction of a college might be its sports program, for example, or the attraction of a job might be its high pay.
An attraction can be a physical force as well as a psychological one — though sometimes, as with love, it can be hard to tell the two apart. Planets have a gravitational attraction to each other, as do opposite magnetic poles. Attraction can also refer to a public entertainment, such as a popular place or a performer or event. You might line up to visit a tourist attraction, or look forward to seeing the main attraction go onstage.