Fiber optics and its applications