ELI5: Explain Like I'm 5

N-body simulation

An n-body simulation is like playing with toys! Imagine playing with a bunch of toys like marbles, balls, or LEGO blocks. You can move them around, and they might interact with each other.

Scientists use n-body simulations to study how things in space, like planets, stars, and black holes, move around and interact with each other. Instead of toys, they use computer programs to simulate how these celestial objects move through space and react to each other's gravity.

To do this simulation, people first create a model of a bunch of objects moving around, say, in outer space. Then, using things called "laws of physics," they can calculate how each object will move based on how its gravity interacts with the other objects.

Just like when you play with your toys, you can see how the toys bounce off each other or how they spin around each other. In an n-body simulation, scientists can see how planets in a solar system orbit a star, or how stars in a galaxy move together to form a pattern.

By using n-body simulations, scientists can better understand how our universe works and predict how things will move or interact in space. It's like playing a very big game of imagination, except they're using computers and math!