Explain how carbon’s electron configuration determines the kinds and numbers of bonds carbon will form?

Explain how carbon’s electron configuration determines the kinds and numbers of bonds carbon will form?