The functionality of the antenna: it receives electric signals and converts them into electromagnetic waves to transmit information.
This can be achieved with lasers. we can convert electric signals to light signals and transmit them through an optical fiber. This, on the input we have information in the form of electric signals, on the output we have that information sent to receiver.