Ports have types, shown by colour: float grey, vec2 green, vec3 yellow, vec4 purple, bool red, texture (sampler2D) orange. Maths nodes take any vector: their result is as wide as the widest input wired into them (a float and a vec3 make a vec3).
Wires between different types convert on their own (the wire is dashed): a float spreads over a vector; a vec4 into a vec3 keeps .xyz, into a vec2 .xy, into a float .x; a vec3 into a vec4 gets alpha 1; a bool becomes 0 or 1 and a number becomes true above 0.5. A texture only goes into a Texture input: read it with a Texture Sample first. Wires that would make a loop are refused.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.