What is the role of an API (Application Programming Interface) in software development?
-
A
It compiles source code into machine code
-
B
It defines how software components communicate with each other
-
C
It manages database transactions
-
D
It renders user interface elements