Step 1: Understanding the Concept:
The integrand \(\frac{\sin x}{\sin x+\cos x}\) has no simple antiderivative by direct methods, so we use a property of definite integrals.
The property is \(\int_0^a f(x)\,dx = \int_0^a f(a-x)\,dx\). It lets us replace \(x\) by \(\frac{\pi}{2}-x\) without changing the value.
Step 2: Apply the property:
Let \(I = \int_0^{\pi/2} \frac{\sin x}{\sin x+\cos x}\,dx\).
Replace \(x\) by \(\frac{\pi}{2}-x\). Since \(\sin\left(\frac{\pi}{2}-x\right)=\cos x\) and \(\cos\left(\frac{\pi}{2}-x\right)=\sin x\), we get
\[ I = \int_0^{\pi/2} \frac{\cos x}{\cos x+\sin x}\,dx \]
Step 3: Add the two forms of I:
Adding the two expressions for \(I\) gives
\[ 2I = \int_0^{\pi/2} \frac{\sin x+\cos x}{\sin x+\cos x}\,dx = \int_0^{\pi/2} 1\,dx = \frac{\pi}{2} \]
So \(I = \frac{\pi}{4}\).
Step 4: Why the other options are wrong:
On \([0,\frac{\pi}{2}]\) the integrand lies between 0 and 1, and it is positive. So the integral is positive and smaller than the interval length \(\frac{\pi}{2}\).
Option (C) \(0\) is impossible because the integrand is positive. Option (A) \(\pi\) and option (B) \(\frac{\pi}{2}\) are too large; \(\frac{\pi}{2}\) would be the value only if the integrand were always 1.
So only option (D) is possible.
Final Answer:
The integral equals \(\frac{\pi}{4}\), which is option (D).
\[ \boxed{\frac{\pi}{4}} \]