I am a beginner . We convert a signal in time domain to frequency domain by applying Fourier transform on the signal to obtain frequency and phase spectrum.
So,whether the job of Fourier transform is just to convert signal from time domain to frequency domain only (and Whose importance is limited by Heisenberg's uncertainty principle)?
Is it used just to compute only phase and magnitude spectrum in which both spectrums are localised only in frequency domain ?
The comments already explained a lot, but I want to add that the Fourier Transform itself is exact to the fullest, i.e. the transform $F(\omega)$ of some $f(t), t \in \mathbb{R}$ is not subject to any uncertainty. Although in practice or physics, one does not have access or is not interested in $f(t)$ from $t = -\infty$ to $t = +\infty$ and wants to know the frequency spectrum at present time. But of course you cannot assign a frequency spectrum to a single instantaneous value $f(t_\text{now})$, that'd be an absurd endeavour (without dynamics, there are now frequencies). Therefore, you have to look at a certain past time window, which then leads to the concept of Short-time Fourier transform and the trade-off between resolution in the frequency and time domains (i.e., choosing a small time window only allows for a rough computation of spectrum and vice versa), which is very much related to the Heisenberg uncertainty principle (where you are interested in both the present location and velocity).