Can someone explain to me how solar panels can be used as modern architectural attributes? please help
They aren't considered attributes - electrical solar panels are expanses of gray and aluminum covered with glass and water heating panels are expanses of black covered with glass. To cover the cost of investment they must be mounted at the best angle for the location and climate throughout the year and therefore may dictate the form of the roof (if sloped as on residences) or may not be visible in an architectural sense (if positioned on a flat roof of a commercial building.) No matter where placed, provision has to be made for safely accessing them for repair and maintenance.
You could check out building integrated photovoltaics (BIPV). BIPV includes things like solar roof tiles and smart energy glass that acts as a window and also creates electricity. BIPV is a great way for people to go solar without disrupting the modern architectural attributes of an existing structure.