Original: Again, the neutron is not an elementary particle but a composite of an up quark and two down quarks (udd).
Simplified: A neutron is made of one up quark and two down quarks, which is why its charge is 0.