Pulse and entrainment

Do you ever nod your head or tap your feet when you hear music? This activity usually follows a certain pulse in the music. But how do we find this pulse within a complex musical landscape of sounds? What sounds in the music are most vital? And how de we transfer this (mostly unconscious) understanding of pulse into a muscular activity that causes us to nod our head or tap our feet?