Actually you become invincible when you get hit for 4 sec, if you pause the game you can see the instruction.
The ramming mechanism is to make the game easier for people who find it hard, it's not at all necessary to do so, however dashing is to avoid the enemies.
Also, hope you found the secret ending ;p