Gravitational force and electrostatic force are similar because both these forces are central forces. Apart from this both of these forces are non-contact forces or action at a distance types of forces.