Gravity?!?!?

Could anyone please explain how gravity to work in the simplest ways for a 2D game? i see the code, and know how it works; but i like figuring out what it all means and so later i wont have to find out other physics from tutorials,basically wondering how they figured out how gravity works, and all those other fancy scripts like tiled games and all , unless there is a tutorial explaining gravity and other physics x.x, hope i explained my question properly :slight_smile: thanks.