It means there is a force drawing two magnets or a magnet and some magnetic material together. The opposite of attract is repel. Two magnets will attract each other if you put the opposite poles near each other, or repel each other if you put like poles together.