Editor not as smooth as FPS show

When I run my project in the editor it shows me an FPS of like 120. But what it actually does is like 20-30fps. Why is it so unsmooth there?