They consist of both certain amounts of protons and neutrons, held by tight binding forces between them, called a strong force.
Most nucleus are of positive charge, the amount of positive charge depends on the amount of protons. Neutrons are electrically neutral, hence they have 0 charge.