There is nothing wrong if you only play things by ear, that is perfectly fine.
But imagine seeing and hearing music in a different color by understanding how it operates. As a songwriter, knowing music theory will provide you with better insights that will take your songwriting skills to the next level.
Accidentals in music – this article discusses the lesson on accidentals and intervals. You must learn previous topics before this discussion to better understand the