Colliders are used to define the physical shape of the objects. Colliders are invisible and don't need not be the exact same shape as the object’s mesh and in fact, a rough approximation is often more efficient and indistinguishable in gameplay.
Flax provides various primitive collider types, such as Box, Sphere, or Capsule. Using simple collider shapes helps with game performance optimization. However, if you need more detailed and excat collision for you object use Mesh Collider.
If collider has no parent Rigidbody, then it will be a static collider. Static colliders are used for level geometry which always stays at the same place and never moves around. Incoming rigidbody objects will collide with the static collider but will not move it.
If collider has Rigidbody parent, then it will be a used to define its shape. Rigidbody colliders are fully simulated by the physics engine and can react to collisions and forces applied from a script. They can collide with other objects (including static colliders) and are the most commonly used Collider configuration in games that use physics.