It is strictly prohibited by aquarists to place your aquarium near a window. Whenever looking for a perfect place for your aquarium try to avoid the locations having direct sunlight. Placing your aquarium near a window will result in the overproduction of algae, turning your aquarium green in no time.