New to this

When ppl say they end up pregnant even if a condom was used do they mean like the condom broke? Or what other ways can you end up pregnant from a condom?