Goosebumps are small bumps that appear on the skin when the muscles surrounding hair follicles contract. This contraction is a response to various stimuli such as cold weather or strong emotions like fear or excitement.