The iPhone can't take long exposure photos out of the box. Apple hasn't added the functionality to the default Camera app. But third-party applications will let you increase exposure and capture time.
There was a time when iPhone cameras were considered to be the gold standard for cameras in smartphones. Any new smartphone that came in the market with the claims to be the best would get pitted ...