How did he solve this integral?

i don't understand how (sin(t)+|sin(t)|)=(sin(t)sin(t))
enter image source here