What are the similarities and differences between the law of universal gravitation and Coulomb’s law?

In both laws, the force formulas have the same structure: they are directly proportional to the product of masses or charges, inversely proportional to the square of the distance between bodies. The forces are directed along the straight line connecting these bodies.
In the law of universal gravitation, bodies are always attracted to each other, and in the law of Coupon, bodies can both attract and repel, depending on the signs of charges.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.