How to delete the vertex on the edge without deleting the edge its on? Let’s say vertices V2 as 

V1——V2——V3

I want to delete the vertex V2 without deleting the edge V1-V3. So I want it become as below after deleting V2.

V1—————V3

Is there any way to do this?
Select vertices you want to delete
Press X on your keyboard
Select Dissolve Vertices