This chapter includes five parts—the concept of vehicle-to-anything (V2X), introduction of visible light communication (VLC), free-space optical communication (FSO), and terahertz (THz). The first part will present the concept of V2X. V2X is the basis and fundamental technology of future smart cars, autonomous driving, and smart transportation systems. Vehicle-to-network (V2N), vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), and vehicle-to-people (V2P) are included in V2X. V2X will lead to a high degree of interconnection of vehicles. The concept of VLC is presented in the second part. Intelligent reflecting surface (IRS) for nano-optics and FSO communication is introduced in the third part. At the same time, IRS keeps pace with the phase in communication links. Prospects of THz in glamorous cities are introduced in the fourth part. These new technologies will lead to trends in the future. A comparison of optical communication technology and applications in V2X is described in the fifth part.