Placing a thin software or hardware layer between two components so it can intercept or alter the data or calls passing…