But how can they sentence anyone who is not 100% guilty at all?

Do they judge that if the evidence is, let's say, 75% guilty, they are classed as guilty?

Why are they jailed at all if the evidence is not 100%?