Music helps you concentrate by blocking out distracting noise. It acts as a stimulus that engages the brain, which modify your mood and provides a rhythm that keeps you alert. This serves to make the task at hand more engaging, less dull, and easier to concentrate on.