A person or thing that attracts what is denoted by the preceding noun.
A piece of material that attracts some metals by magnetism.