A religious civil union of two persons;
A legal union for the protection of children
In most European countries, no religious ceremony is recognized by the state. (True separation of church and state.) Therefore, all church weddings occur only after a state ceremony.
In the Netherlands, even gays may marry by the state even though the church doesn't recognize it.
After a couple's marriage, all children born are considered to have automatic declaration of paternity.