How do I make part of a material transparent?

The thing is that I am a programmer so I don’t understand how this works exactly, could you explain how you would do it inside the material editor please ?
Sorry about my lack of knowledge and thank you for replying so quickly