Adenoviral vectors are created by modifying the adenovirus genome to remove genes essential for viral replication and replace them with therapeutic genes. This modification prevents the virus from replicating in the host cells, making it safer for medical applications. The modified virus can then be used to introduce the desired genetic material into target cells.