Which of these statements is true of magnets?