Any repeating signal, even a sharp square wave, is a sum of smooth sine waves. Add more of them and the corners get sharper.